package com.ctshk.rpc.order.air.service;

import com.ctshk.common.dto.Result;
import com.ctshk.common.model.TokenUser;
import com.ctshk.rpc.order.air.dto.AirOrderInvoiceInfoDTO;
import com.ctshk.rpc.order.air.req.AirOrderInvoiceEditReq;

/**
 * <p>
 * 机票订单-发票表 服务类
 * </p>
 *
 * @author lihang
 * @since 2021-03-29
 */
public interface IAirOrderInvoiceService{


    /**
     * 新增订单发票
     * @param orderId
     * @param tokenUser
     * @return
     */
    Result<AirOrderInvoiceInfoDTO> add(Long orderId, TokenUser tokenUser);

    /**
     * 发票详情
     * @param orderId
     * @return
     */
    Result<AirOrderInvoiceInfoDTO> info(Long orderId);


    Result edit(AirOrderInvoiceEditReq req,TokenUser tokenUser);
}
